package com.cntcdt.api.service;

import com.cntcdt.api.db.model.ConsociationCompanyUserModel;

public interface ConsociationCompanyUserService {

	public ConsociationCompanyUserModel findByUserNameAndPassWord(String userName,String password);
	
	public ConsociationCompanyUserModel findById(Integer id);
	
	public ConsociationCompanyUserModel findByUserName(String userName);
	
	public int insetModel(ConsociationCompanyUserModel consociationCompanyUser);
	
	public boolean updateModel(ConsociationCompanyUserModel consociationCompanyUser);
	
	public ConsociationCompanyUserModel findByCompanyId(int companyId);
}
